import Vue from 'vue'
var Fly = require('flyio/dist/npm/wx')
var fly = new Fly()

fly.interceptors.request.use((config, promise) => {
    config.headers["Content-Type"] = "application/x-www-form-urlencoded";
    return config;
})


fly.config.baseURL="https://mp.zymcloud.com/hp-hd/applet/activity"

Vue.prototype.$fly = fly

export default fly